package com.itheima.d14_api_objects;

import java.util.Objects;

public class Test {
    public static void main(String[] args) {
        // 目标: 掌握objects类提供的常用方法
        String s1 = "itheima";
        String s2 = "itheima";
        System.out.println(s1.equals(s2));
        System.out.println(Objects.equals(s1, s2));
    }

}
